#include <stdio.h>
#include <stdlib.h>

void outp(int count, int *a){
	int i;
	for(i = count-1; i>=0; i--){
		switch(a[i]){
			case 1:
				printf("yi");
				break;
			case 2:
				printf("er");
				break;
			case 3:
				printf("san");
				break;
			case 4:
				printf("si");
				break;
			case 5:
				printf("wu");
				break;
			case 6:
				printf("liu");
				break;
			case 7:
				printf("qi");
				break;
			case 8:
				printf("ba");
				break;
			case 9:
				printf("jiu");
				break;
			case 0:
				printf("ling");
				break;
			default:
				break;
			
		}
		if(i!=0){
			printf(" ");
		}
		
		
		
	}
}



int main ()
{
    int n,i,sum,j;
    char s[100];
    int a[100];
    
    
    scanf("%s",&s);
    n=strlen(s);
    
    sum=0;
    for(i=0; i<n; i++){
    	sum += s[i]-'0';
	}
	
	j=0;
	while(sum!=0){
		a[j]=sum%10;
		sum = sum/10;
		j++;
	}
	
	outp(j, a);
	
    

    return 0 ;
}
